package org.example.assistant;

import dev.langchain4j.model.output.structured.Description;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;

@AiService(wiringMode = AiServiceWiringMode.EXPLICIT,
        chatModel = "qwenChatModel",chatMemoryProvider = "chatMemoryProviderForm")
public interface TaskAgent {
    @UserMessage("以下文本是什么任务: {{it}}") //{it}}占位符，表示传进来的消息
    TASKTYPE whichTask(String task);
}
